package com.hhs.storage.service;

import com.hhs.storage.bean.Comsumer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhs.storage.bean.dto.ContractClient;
import com.hhs.storage.bean.InputParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2022-12-07
 */
public interface ComsumerService extends IService<Comsumer> {

    Map<String, Object> getAll(InputParam inputParam);

    Map<String, Object> addOrUpdate(Comsumer comsumer,String deleIdStr, MultipartFile[] qualificationCertificateList);

    Map dele(String id);

    //合同录入的时候，对单独客户的数据转换
   String addForContractClient(ContractClient contractClient,String createrId);

}
